#if !defined(RETIREMENT_H)
#define RETIREMENT_H
class RetirementPlanner
{
public:
	RetirementPlanner(void);
	~RetirementPlanner(void);
private:
     double dContribution;
     double dInterestRate;
     double dInterestEarned;
     int iYearsOfSaving;
     double dFutureValue;
     double dPresentValue;
     double dInflation;
     int iCurAge;
     int iRetireAge;
public:
	void setCurAge(int iAgeNow);
	void setRetireAge(int iAgeThen);
	void setContribution(double dContribution);
	void setInterestRate(double dInterest);
	void setInflation(double dInflate);
	double getInterestEarned(void);
	double calcFutureValue(void);
	double calcPresentValue(void);
};
inline double RetirementPlanner::getInterestEarned(void)
{
	return dInterestEarned;
}
#endif